import request from '@/utils/request'

// 查询我的仪器使用列表
export function listEquipment_my(query) {
  return request({
    url: '/eamp/equipment_my/list',
    method: 'get',
    params: query
  })
}
listEquipmentin
//入库仪器设备列表
export function listEquipmentin(query) {
  return request({
    url: '/eamp/equipment_my/in',
    method: 'put',
    data: query
  })
}

export function listEquipment_myy(query) {
  return request({
    url: '/eamp/equipment_my/listt',
    method: 'get',
    params: query
  })
}

// 查询我的仪器使用详细
export function getEquipment_my(equipmentLogId) {
  return request({
    url: '/eamp/equipment_my/' + equipmentLogId,
    method: 'get'
  })
}

// 新增我的仪器使用
export function addEquipment_my(data) {
  return request({
    url: '/eamp/equipment_my',
    method: 'post',
    data: data
  })
}

// 修改我的仪器使用
export function updateEquipment_my(data) {
  return request({
    url: '/eamp/equipment_my',
    method: 'put',
    data: data
  })
}

// 删除我的仪器使用
export function delEquipment_my(equipmentLogId) {
  return request({
    url: '/eamp/equipment_my/' + equipmentLogId,
    method: 'delete'
  })
}
